package com.yneusoft.manage.mapper;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Mapper
@Service
public interface StaffManage {
    /*
     * 获取员工部门列表
     * */

    @MapKey("aid")
    List<Map<String,Object>> getStaffDepartmentName(Integer aid);

    @MapKey("aid")
    List<Map<String,Object>> getStaffDepartment(Integer aid);

    @MapKey("aid")
    List<Map<String,Object>> getStaffList(String str,Integer id,Integer current,Integer pageSize);

    int getRowNumber(String str,Integer id,Integer current,Integer pageSize);



}
